// 定义对象类型
type LyricType = {
    time: number
    text: string
}

// 歌词解析
function parseLyric(lyric: string) {
    const lyrics: LyricType[] = []
    lyrics.push({ time: 1111, text: "外币外币外部" })
    return lyrics
}

const lyricInfos = parseLyric("123")
for (const item of lyricInfos) {
    console.log(item.time, item.text)
}

export {}
 